<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>LoggerPanel.mxml</title>
<link rel="stylesheet" type="text/css" href="../SourceStyles.css"/>
</head>

<body><pre><span class="MXMLProcessing_Instruction">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;</span>
<span class="MXMLComponent_Tag">&lt;mx:Application</span><span class="MXMLDefault_Text"> xmlns:mx=&quot;</span><span class="MXMLString">http://www.adobe.com/2006/mxml</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; layout=&quot;</span><span class="MXMLString">vertical</span><span class="MXMLDefault_Text">&quot; 
    creationComplete=&quot;</span><span class="ActionScriptDefault_Text">onComplete</span><span class="ActionScriptBracket/Brace">()</span><span class="MXMLDefault_Text">&quot; viewSourceURL=&quot;</span><span class="MXMLString">srcview/index.html</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>

    <span class="MXMLSpecial_Tag">&lt;mx:Style&gt;</span>
        <span class="CSSSelector">Application</span><span class="CSSDelimiters">{</span>
            <span class="CSSProperty_Name">paddingTop</span><span class="CSSDelimiters">:</span><span class="CSSProperty_Value">0</span><span class="CSSDelimiters">;</span>
            <span class="CSSProperty_Name">paddingRight</span><span class="CSSDelimiters">:</span><span class="CSSProperty_Value">0</span><span class="CSSDelimiters">;</span>
            <span class="CSSProperty_Name">paddingLeft</span><span class="CSSDelimiters">:</span><span class="CSSProperty_Value">0</span><span class="CSSDelimiters">;</span>
            <span class="CSSProperty_Name">paddingBottom</span><span class="CSSDelimiters">:</span><span class="CSSProperty_Value">0</span><span class="CSSDelimiters">;</span>
            <span class="CSSProperty_Name">verticalGap</span><span class="CSSDelimiters">:</span><span class="CSSProperty_Value">0</span><span class="CSSDelimiters">;</span>
            <span class="CSSProperty_Name">backgroundColor</span><span class="CSSDelimiters">:</span><span class="CSSProperty_Value">#F0F0F0</span><span class="CSSDelimiters">;</span>
        <span class="CSSDelimiters">}</span>
    <span class="MXMLSpecial_Tag">&lt;/mx:Style&gt;</span>

    <span class="MXMLSpecial_Tag">&lt;mx:Script&gt;</span>
        <span class="ActionScriptOperator">&lt;!</span><span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptDefault_Text">CDATA</span><span class="ActionScriptBracket/Brace">[</span>
            <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">controls</span>.<span class="ActionScriptDefault_Text">dataGridClasses</span>.<span class="ActionScriptDefault_Text">DataGridColumn</span>;
            <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">collections</span>.<span class="ActionScriptDefault_Text">ArrayCollection</span>;
            <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">mx</span>.<span class="ActionScriptDefault_Text">formatters</span>.<span class="ActionScriptDefault_Text">DateFormatter</span>;

            <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">LOGGER__DEBUG</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span>       <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">x01</span>;
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">LOGGER__INFORMATION</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span> <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">x02</span>;
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">LOGGER__WARNING</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span>     <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">x04</span>;
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">LOGGER__ERROR</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span>       <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">x08</span>;

            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">logs</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">ArrayCollection</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isListen</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isDebug</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isInfo</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isWarn</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Bindable</span><span class="ActionScriptBracket/Brace">]</span>
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">isError</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;

            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/exit.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>      <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">exitIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/reconnect.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span> <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">reconnectIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/lunch.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>     <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">lunchIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/clear.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>     <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">clearIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/debug.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>     <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">debugIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/info.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>      <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">infoIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/warning.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>   <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">warningIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/error.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>     <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">errorIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/document.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>  <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">documentIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;
            <span class="ActionScriptBracket/Brace">[</span><span class="ActionScriptMetadata">Embed</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">source</span><span class="ActionScriptOperator">=</span><span class="ActionScriptString">&quot;/assets/traverse.png&quot;</span><span class="ActionScriptBracket/Brace">)]</span>  <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">traverseIcon</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span>;

            <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">toggleOn</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;On&quot;</span>;
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">const</span> <span class="ActionScriptDefault_Text">toggleOff</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;Off&quot;</span>;
            
            <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">dateFormatter</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">DateFormatter</span>;

            <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">onComplete</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span><span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptDefault_Text">Security</span>.<span class="ActionScriptDefault_Text">allowDomain</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;*&quot;</span><span class="ActionScriptBracket/Brace">)</span>;
                <span class="ActionScriptDefault_Text">Security</span>.<span class="ActionScriptDefault_Text">allowInsecureDomain</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;*&quot;</span><span class="ActionScriptBracket/Brace">)</span>;

                <span class="ActionScriptDefault_Text">dateFormatter</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">DateFormatter</span><span class="ActionScriptBracket/Brace">()</span>;
                <span class="ActionScriptDefault_Text">dateFormatter</span>.<span class="ActionScriptDefault_Text">formatString</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;H:NN:SS A&quot;</span>;
                <span class="ActionScriptDefault_Text">logs</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">()</span>;
                <span class="ActionScriptDefault_Text">reconnect</span><span class="ActionScriptBracket/Brace">()</span>;
            <span class="ActionScriptBracket/Brace">}</span>

            <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">reconnect</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span><span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">resultHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">time</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>, <span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>, <span class="ActionScriptDefault_Text">level</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">int</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span><span class="ActionScriptBracket/Brace">{</span>
                    <span class="ActionScriptReserved">if</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">isListen</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptBracket/Brace">((</span><span class="ActionScriptDefault_Text">level</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LOGGER__DEBUG</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">isDebug</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">||</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">level</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LOGGER__WARNING</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">isWarn</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">||</span>
                            <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">level</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LOGGER__ERROR</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">isError</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">||</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">level</span> <span class="ActionScriptOperator">==</span> <span class="ActionScriptDefault_Text">LOGGER__INFORMATION</span> <span class="ActionScriptOperator">&amp;&amp;</span> <span class="ActionScriptDefault_Text">isInfo</span><span class="ActionScriptBracket/Brace">))){</span>
                            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">info</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Object</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">level</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">level</span>, <span class="ActionScriptDefault_Text">ftime</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">time</span>, <span class="ActionScriptDefault_Text">time</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">dateFormatter</span>.<span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Date</span><span class="ActionScriptBracket/Brace">())</span>, <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">msg</span><span class="ActionScriptBracket/Brace">}</span>;
                            <span class="ActionScriptDefault_Text">logs</span>.<span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">getInfo</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">info</span><span class="ActionScriptBracket/Brace">))</span>;
                            <span class="ActionScriptDefault_Text">dg</span>.<span class="ActionScriptDefault_Text">verticalScrollPosition</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">dg</span>.<span class="ActionScriptDefault_Text">maxVerticalScrollPosition</span>;
                    <span class="ActionScriptBracket/Brace">}</span>
                <span class="ActionScriptBracket/Brace">}</span>;
                <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">statusHandler</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">chanel</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">uint</span>, <span class="ActionScriptDefault_Text">status</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>, <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span><span class="ActionScriptBracket/Brace">{</span>
                        <span class="ActionScriptDefault_Text">logs</span>.<span class="ActionScriptDefault_Text">addItem</span><span class="ActionScriptBracket/Brace">({</span><span class="ActionScriptDefault_Text">level</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Logger</span>.<span class="ActionScriptDefault_Text">LOGGER_INFORMATION</span>.<span class="ActionScriptDefault_Text">level</span>, <span class="ActionScriptDefault_Text">ftime</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">getTimer</span><span class="ActionScriptBracket/Brace">()</span>, 
                        <span class="ActionScriptDefault_Text">time</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">dateFormatter</span>.<span class="ActionScriptDefault_Text">format</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Date</span><span class="ActionScriptBracket/Brace">())</span>, <span class="ActionScriptDefault_Text">message</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">message</span><span class="ActionScriptBracket/Brace">})</span>;
                    <span class="ActionScriptDefault_Text">dg</span>.<span class="ActionScriptDefault_Text">verticalScrollPosition</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">dg</span>.<span class="ActionScriptDefault_Text">maxVerticalScrollPosition</span>;
                <span class="ActionScriptBracket/Brace">}</span>;
                <span class="ActionScriptDefault_Text">Logger</span>.<span class="ActionScriptDefault_Text">connect</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">resultHandler</span>, <span class="ActionScriptDefault_Text">statusHandler</span><span class="ActionScriptBracket/Brace">)</span>;
            <span class="ActionScriptBracket/Brace">}</span>

            <span class="ActionScriptReserved">private</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">closeApp</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptReserved">void</span><span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptDefault_Text">navigateToURL</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">URLRequest</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;javascript:window.close();void(0);&quot;</span><span class="ActionScriptBracket/Brace">)</span>,<span class="ActionScriptString">&quot;_self&quot;</span><span class="ActionScriptBracket/Brace">)</span>;
            <span class="ActionScriptBracket/Brace">}</span>

            <span class="ActionScriptReserved">private</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">getInfo</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">info</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptReserved">switch</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">level</span><span class="ActionScriptBracket/Brace">){</span>
                    <span class="ActionScriptReserved">case</span> <span class="ActionScriptDefault_Text">LOGGER__INFORMATION</span><span class="ActionScriptOperator">:</span>
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">type</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;Information&quot;</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">icon</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">infoIcon</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">color</span> <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">x666666</span>;
                        <span class="ActionScriptReserved">break</span>;
                    <span class="ActionScriptReserved">case</span> <span class="ActionScriptDefault_Text">LOGGER__WARNING</span><span class="ActionScriptOperator">:</span>
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">type</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;Warning&quot;</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">icon</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">warningIcon</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">color</span> <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">x996633</span>;
                        <span class="ActionScriptReserved">break</span>;
                    <span class="ActionScriptReserved">case</span> <span class="ActionScriptDefault_Text">LOGGER__ERROR</span><span class="ActionScriptOperator">:</span>
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">type</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;Error&quot;</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">icon</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">errorIcon</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">color</span> <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">xFF0000</span>;
                        <span class="ActionScriptReserved">break</span>;
                    <span class="ActionScriptReserved">default</span><span class="ActionScriptOperator">:</span>
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">type</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptString">&quot;Debug&quot;</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">icon</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">debugIcon</span>;
                        <span class="ActionScriptDefault_Text">info</span>.<span class="ActionScriptDefault_Text">color</span> <span class="ActionScriptOperator">=</span> 0<span class="ActionScriptDefault_Text">x000000</span>;
                        <span class="ActionScriptReserved">break</span>;
                <span class="ActionScriptBracket/Brace">}</span>
                <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">info</span>;
            <span class="ActionScriptBracket/Brace">}</span>

            <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">getIcon</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Class</span><span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">getInfo</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptBracket/Brace">)</span>.<span class="ActionScriptDefault_Text">icon</span>;
            <span class="ActionScriptBracket/Brace">}</span>

            <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">getColor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">uint</span><span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">color</span>;
            <span class="ActionScriptBracket/Brace">}</span>

            <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">static</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">getMessage</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Object</span><span class="ActionScriptBracket/Brace">)</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span><span class="ActionScriptBracket/Brace">{</span>
                <span class="ActionScriptReserved">return</span> <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">message</span> <span class="ActionScriptOperator">?</span> <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">message</span>.<span class="ActionScriptDefault_Text">split</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;\n&quot;</span><span class="ActionScriptBracket/Brace">)</span>.<span class="ActionScriptDefault_Text">join</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot; &quot;</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">:</span> <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">message</span>
            <span class="ActionScriptBracket/Brace">}</span>
        <span class="ActionScriptBracket/Brace">]]</span><span class="ActionScriptOperator">&gt;</span>
    <span class="MXMLSpecial_Tag">&lt;/mx:Script&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:HBox</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; horizontalGap=&quot;</span><span class="MXMLString">2</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Close</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">exitIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">closeApp</span><span class="ActionScriptBracket/Brace">()</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Reconnect</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">reconnectIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">reconnect</span><span class="ActionScriptBracket/Brace">()</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Listen Trace ({</span><span class="ActionScriptDefault_Text">isListen</span> <span class="ActionScriptOperator">?</span> <span class="ActionScriptDefault_Text">toggleOn</span> <span class="ActionScriptOperator">:</span> <span class="ActionScriptDefault_Text">toggleOff</span><span class="MXMLString">})</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">lunchIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; toggle=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; selected=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">isListen</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">isListen</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">}</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Clear</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">clearIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">logs</span><span class="ActionScriptOperator">=</span><span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">ArrayCollection</span><span class="ActionScriptBracket/Brace">()</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Capture Debug ({</span><span class="ActionScriptDefault_Text">isDebug</span> <span class="ActionScriptOperator">?</span> <span class="ActionScriptDefault_Text">toggleOn</span> <span class="ActionScriptOperator">:</span> <span class="ActionScriptDefault_Text">toggleOff</span><span class="MXMLString">})</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">debugIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; toggle=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; selected=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">isDebug</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">isDebug</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">}</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Capture Information ({</span><span class="ActionScriptDefault_Text">isInfo</span> <span class="ActionScriptOperator">?</span> <span class="ActionScriptDefault_Text">toggleOn</span> <span class="ActionScriptOperator">:</span> <span class="ActionScriptDefault_Text">toggleOff</span><span class="MXMLString">})</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">infoIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; toggle=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; selected=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">isInfo</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">isInfo</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">}</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Capture Warnings ({</span><span class="ActionScriptDefault_Text">isWarn</span> <span class="ActionScriptOperator">?</span> <span class="ActionScriptDefault_Text">toggleOn</span> <span class="ActionScriptOperator">:</span> <span class="ActionScriptDefault_Text">toggleOff</span><span class="MXMLString">})</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">warningIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; toggle=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; selected=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">isWarn</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">isWarn</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">}</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:Button</span><span class="MXMLDefault_Text"> toolTip=&quot;</span><span class="MXMLString">Capture Errors ({</span><span class="ActionScriptDefault_Text">isError</span> <span class="ActionScriptOperator">?</span> <span class="ActionScriptDefault_Text">toggleOn</span> <span class="ActionScriptOperator">:</span> <span class="ActionScriptDefault_Text">toggleOff</span><span class="MXMLString">})</span><span class="MXMLDefault_Text">&quot; icon=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">errorIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; toggle=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; selected=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">25</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptBracket/Brace">{</span><span class="ActionScriptDefault_Text">isError</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">isError</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">}</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/mx:HBox&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:HRule</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
    <span class="MXMLComponent_Tag">&lt;mx:DataGrid</span><span class="MXMLDefault_Text"> id=&quot;</span><span class="MXMLString">dg</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; editable=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; dataProvider=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">logs</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; fontWeight=&quot;</span><span class="MXMLString">normal</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
        <span class="MXMLComponent_Tag">&lt;mx:columns&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:DataGridColumn</span><span class="MXMLDefault_Text"> headerText=&quot;</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">&quot; editable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot; sortable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                <span class="MXMLComponent_Tag">&lt;mx:itemRenderer&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;mx:Component&gt;</span>
                        <span class="MXMLComponent_Tag">&lt;mx:Image</span><span class="MXMLDefault_Text"> source=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">LoggerPanel</span>.<span class="ActionScriptDefault_Text">getIcon</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; scaleContent=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot; horizontalAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;/mx:Component&gt;</span>
                <span class="MXMLComponent_Tag">&lt;/mx:itemRenderer&gt;</span>
            <span class="MXMLComponent_Tag">&lt;/mx:DataGridColumn&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField=&quot;</span><span class="MXMLString">time</span><span class="MXMLDefault_Text">&quot; headerText=&quot;</span><span class="MXMLString">Time</span><span class="MXMLDefault_Text">&quot; textAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">80</span><span class="MXMLDefault_Text">&quot; editable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField=&quot;</span><span class="MXMLString">ftime</span><span class="MXMLDefault_Text">&quot; headerText=&quot;</span><span class="MXMLString">Flash Time</span><span class="MXMLDefault_Text">&quot; textAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">80</span><span class="MXMLDefault_Text">&quot; editable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:DataGridColumn</span><span class="MXMLDefault_Text"> dataField=&quot;</span><span class="MXMLString">type</span><span class="MXMLDefault_Text">&quot; headerText=&quot;</span><span class="MXMLString">Type</span><span class="MXMLDefault_Text">&quot; textAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot; width=&quot;</span><span class="MXMLString">80</span><span class="MXMLDefault_Text">&quot; editable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:DataGridColumn</span><span class="MXMLDefault_Text"> headerText=&quot;</span><span class="MXMLString">Message</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                <span class="MXMLComponent_Tag">&lt;mx:itemRenderer&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;mx:Component&gt;</span>
                        <span class="MXMLComponent_Tag">&lt;mx:Text</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; text=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">LoggerPanel</span>.<span class="ActionScriptDefault_Text">getMessage</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; color=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">LoggerPanel</span>.<span class="ActionScriptDefault_Text">getColor</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">data</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; toolTip=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">message</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;/mx:Component&gt;</span>
                <span class="MXMLComponent_Tag">&lt;/mx:itemRenderer&gt;</span>
                <span class="MXMLComponent_Tag">&lt;mx:itemEditor&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;mx:Component&gt;</span>
                        <span class="MXMLComponent_Tag">&lt;mx:TextInput</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">100%</span><span class="MXMLDefault_Text">&quot; text=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">message</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;/mx:Component&gt;</span>
                <span class="MXMLComponent_Tag">&lt;/mx:itemEditor&gt;</span>
            <span class="MXMLComponent_Tag">&lt;/mx:DataGridColumn&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:DataGridColumn</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">&quot; editable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot; sortable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                <span class="MXMLComponent_Tag">&lt;mx:itemRenderer&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;mx:Component&gt;</span>
                        <span class="MXMLComponent_Tag">&lt;mx:Image</span><span class="MXMLDefault_Text"> source=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">LoggerPanel</span>.<span class="ActionScriptDefault_Text">documentIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; buttonMode=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; useHandCursor=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; toolTip=&quot;</span><span class="MXMLString">Show Log</span><span class="MXMLDefault_Text">&quot; 
                            width=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; scaleContent=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot; horizontalAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">ExternalInterface</span>.<span class="ActionScriptDefault_Text">call</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&apos;writeDoc&apos;</span>, <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">message</span>, <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">time</span>, <span class="ActionScriptReserved">false</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;/mx:Component&gt;</span>
                <span class="MXMLComponent_Tag">&lt;/mx:itemRenderer&gt;</span>    
            <span class="MXMLComponent_Tag">&lt;/mx:DataGridColumn&gt;</span>
            <span class="MXMLComponent_Tag">&lt;mx:DataGridColumn</span><span class="MXMLDefault_Text"> width=&quot;</span><span class="MXMLString">20</span><span class="MXMLDefault_Text">&quot; editable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot; sortable=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">&gt;</span>
                <span class="MXMLComponent_Tag">&lt;mx:itemRenderer&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;mx:Component&gt;</span>
                        <span class="MXMLComponent_Tag">&lt;mx:Image</span><span class="MXMLDefault_Text"> source=&quot;</span><span class="MXMLString">{</span><span class="ActionScriptDefault_Text">LoggerPanel</span>.<span class="ActionScriptDefault_Text">traverseIcon</span><span class="MXMLString">}</span><span class="MXMLDefault_Text">&quot; buttonMode=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; useHandCursor=&quot;</span><span class="MXMLString">true</span><span class="MXMLDefault_Text">&quot; toolTip=&quot;</span><span class="MXMLString">Traverse XML Data</span><span class="MXMLDefault_Text">&quot; 
                            width=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; height=&quot;</span><span class="MXMLString">8</span><span class="MXMLDefault_Text">&quot; scaleContent=&quot;</span><span class="MXMLString">false</span><span class="MXMLDefault_Text">&quot; horizontalAlign=&quot;</span><span class="MXMLString">center</span><span class="MXMLDefault_Text">&quot; click=&quot;</span><span class="ActionScriptDefault_Text">ExternalInterface</span>.<span class="ActionScriptDefault_Text">call</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&apos;writeDoc&apos;</span>, <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">message</span>, <span class="ActionScriptDefault_Text">data</span>.<span class="ActionScriptDefault_Text">time</span>, <span class="ActionScriptReserved">true</span><span class="ActionScriptBracket/Brace">)</span><span class="MXMLDefault_Text">&quot;</span><span class="MXMLComponent_Tag">/&gt;</span>
                    <span class="MXMLSpecial_Tag">&lt;/mx:Component&gt;</span>
                <span class="MXMLComponent_Tag">&lt;/mx:itemRenderer&gt;</span>    
            <span class="MXMLComponent_Tag">&lt;/mx:DataGridColumn&gt;</span>
        <span class="MXMLComponent_Tag">&lt;/mx:columns&gt;</span>
    <span class="MXMLComponent_Tag">&lt;/mx:DataGrid&gt;</span>
<span class="MXMLComponent_Tag">&lt;/mx:Application&gt;</span></pre></body>
</html>
